#include<stdio.h>
#include<string.h>
int main()
{
    char s[14][11];
    int i;
    i=0;
    scanf("%s",s[i]);
    while(strcmp(s[i],".")!=0&&i!=14)
    {
        i++;
        scanf("%s",s[i]);
    }
    if(i==14)
        printf("%s and %s are inviting you to dinner...",s[1],s[13]);
    else if(i>1&&i<=13)
        printf("%s is the only one for you...",s[1]);
    else
        printf("Momo... No one is for you ...");
    return 0;
}